<?php
include_once('global.php');
if(!$action->_islogin())					//检测是否判断
{
	header('Location:index.php');
	exit();
}

if(isset($_POST['login']) && $_POST['login'] == 1)
{
	$action->_login($_POST);
}

include('templates/login.html');
?>